package com.gome.axwl.aoc.dao;

import com.gome.axwl.aoc.entity.po.DeviceMsgPo;
import com.gome.axwl.aoc.entity.po.DevicePo;

import java.util.List;

public interface DeviceDao {
    int deleteByPrimaryKey(Integer id);

    int insert(DevicePo record);

    int insertSelective(DevicePo record);

    DevicePo selectByPrimaryKey(Integer id);

    DevicePo selectSelective(DevicePo devicePo);

    int updateByPrimaryKeySelective(DevicePo record);

    int updateByPrimaryKey(DevicePo record);

    int deleteByEmpNo(String empNo);

    int updateByCid(DevicePo devicePo);

    List<DevicePo> selectAllBySysType(Integer type);

    List<DeviceMsgPo> getDeviceInfoByDriverIds(List<String> list);

    List<DeviceMsgPo> getDeviceInfoByPage();
}